//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package org.itboys.weixin.dto;

import org.itboys.commons.utils.random.RandomUtils;

public class SignTool {
    private String timestamp;
    private String noncestr;
    private String sign;
    private String appId;

    public SignTool() {
    }

    public SignTool(String appId) {
        this.timestamp = Long.toString(System.currentTimeMillis() / 1000L);
        this.noncestr = RandomUtils.getClearRandomStr(16);
        this.appId = appId;
    }

    public String getTimestamp() {
        return this.timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getNoncestr() {
        return this.noncestr;
    }

    public void setNoncestr(String noncestr) {
        this.noncestr = noncestr;
    }

    public String getSign() {
        return this.sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getAppId() {
        return this.appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }
}
